package cn.itcast.service.impl;

import cn.itcast.service.DemoService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
public class DemoServiceImpl implements DemoService {
    public void x() {
        System.out.println("红红火火恍恍惚惚");
    }

    public void xx() {
        for(int i= 0; i<10;i++){
            System.out.println("哈哈");
        }
    }

    public void xxx() {
        for(int i= 0; i<10000;i++){
            System.out.println("呐呐~");
        }
    }
}
